LanguageModelResponseMetadata

data class LanguageModelResponseMetadata(val id: String? = null, val timestampMillis: Long? = null, val modelId: String? = null, val headers: Map<String, String> = emptyMap(), val body: JsonElement? = null, val messages: List<ModelMessage> = emptyList())

Response metadata recorded by HTTP-backed or gateway providers.

Constructors

Link copied to clipboard
constructor(id: String? = null, timestampMillis: Long? = null, modelId: String? = null, headers: Map<String, String> = emptyMap(), body: JsonElement? = null, messages: List<ModelMessage> = emptyList())

Properties

Link copied to clipboard
val body: JsonElement?
Link copied to clipboard
Link copied to clipboard
val id: String?
Link copied to clipboard

The messages produced by this response (assistant + tool messages), for multi-turn persistence without holding the full conversation list. Empty unless the caller/provider populates it. Mirrors upstream response.messages.

Link copied to clipboard
Link copied to clipboard